<?
/**
 * <b>OfferType Class</b>
 * Published 04/11/2010 18:58:07
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('UserType.php');
require_once('CurrencyCodeType.php');
require_once('BestOfferIDType.php');
require_once('BidActionCodeType.php');
require_once('AmountType.php');

class OfferType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var BidActionCodeType $Action
	public $Action;
	// @var BestOfferIDType $BestOfferID
	public $BestOfferID;
	// @var AmountType $ConvertedPrice
	public $ConvertedPrice;
	// @var CurrencyCodeType $Currency
	public $Currency;
	// @var AmountType $HighestBid
	public $HighestBid;
	// @var AmountType $MaxBid
	public $MaxBid;
	// @var string $Message
	public $Message;
	// @var AmountType $MyMaxBid
	public $MyMaxBid;
	// @var int $Quantity
	public $Quantity;
	// @var boolean $SecondChanceEnabled
	public $SecondChanceEnabled;
	// @var CurrencyCodeType $SiteCurrency
	public $SiteCurrency;
	// @var dateTime $TimeBid
	public $TimeBid;
	// @var UserType $User
	public $User;
	// @var boolean $UserConsent
	public $UserConsent;
 /** End Properties **/

/**
 *
 * @return BidActionCodeType
 */
	function getAction(){
		return $this->Action;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAction($value){
		$this->Action = $value;
	}


/**
 *
 * @return BestOfferIDType
 */
	function getBestOfferID(){
		return $this->BestOfferID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferID($value){
		$this->BestOfferID = $value;
	}


/**
 *
 * @return AmountType
 */
	function getConvertedPrice(){
		return $this->ConvertedPrice;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setConvertedPrice($value){
		$this->ConvertedPrice = $value;
	}


/**
 *
 * @return CurrencyCodeType
 */
	function getCurrency(){
		return $this->Currency;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCurrency($value){
		$this->Currency = $value;
	}


/**
 *
 * @return AmountType
 */
	function getHighestBid(){
		return $this->HighestBid;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setHighestBid($value){
		$this->HighestBid = $value;
	}


/**
 *
 * @return AmountType
 */
	function getMaxBid(){
		return $this->MaxBid;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMaxBid($value){
		$this->MaxBid = $value;
	}


/**
 *
 * @return string
 */
	function getMessage(){
		return $this->Message;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMessage($value){
		$this->Message = $value;
	}


/**
 *
 * @return AmountType
 */
	function getMyMaxBid(){
		return $this->MyMaxBid;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMyMaxBid($value){
		$this->MyMaxBid = $value;
	}


/**
 *
 * @return int
 */
	function getQuantity(){
		return $this->Quantity;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setQuantity($value){
		$this->Quantity = $value;
	}


/**
 *
 * @return boolean
 */
	function getSecondChanceEnabled(){
		return $this->SecondChanceEnabled;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSecondChanceEnabled($value){
		$this->SecondChanceEnabled = $value;
	}


/**
 *
 * @return CurrencyCodeType
 */
	function getSiteCurrency(){
		return $this->SiteCurrency;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSiteCurrency($value){
		$this->SiteCurrency = $value;
	}


/**
 *
 * @return dateTime
 */
	function getTimeBid(){
		return $this->TimeBid;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTimeBid($value){
		$this->TimeBid = $value;
	}


/**
 *
 * @return UserType
 */
	function getUser(){
		return $this->User;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUser($value){
		$this->User = $value;
	}


/**
 *
 * @return boolean
 */
	function getUserConsent(){
		return $this->UserConsent;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUserConsent($value){
		$this->UserConsent = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("OfferType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"Action"=>
					array(
						"required"=>false,
						"type"=>"BidActionCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BestOfferID"=>
					array(
						"required"=>false,
						"type"=>"BestOfferIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ConvertedPrice"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Currency"=>
					array(
						"required"=>false,
						"type"=>"CurrencyCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"HighestBid"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"MaxBid"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Message"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"MyMaxBid"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Quantity"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SecondChanceEnabled"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SiteCurrency"=>
					array(
						"required"=>false,
						"type"=>"CurrencyCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"TimeBid"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"User"=>
					array(
						"required"=>false,
						"type"=>"UserType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"UserConsent"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
